<?php
    include APPLICATION_PATH . '/application/views/head.phtml';
    include APPLICATION_PATH . '/application/views/top.phtml';
    include APPLICATION_PATH . '/application/views/left.phtml';
?>
<div id="thispage" data-id="54"></div>
		<!-- BEGIN PAGE -->

		<div class="page-content">

			<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->

			<div id="portlet-config" class="modal hide">

				<div class="modal-header">

					<button data-dismiss="modal" class="close" type="button"></button>

					<h3>portlet Settings</h3>

				</div>

				<div class="modal-body">

					<p>Here will be a configuration form</p>

				</div>

			</div>

			<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->

			<!-- BEGIN PAGE CONTAINER-->

			<div class="container-fluid">

				<!-- BEGIN PAGE HEADER-->

				<div class="row-fluid">

					<div class="span12">
 
						<!-- BEGIN PAGE TITLE & BREADCRUMB-->

						<h3 class="page-title">

							用户推送报表 

						</h3>

						<ul class="breadcrumb">

							<li>

								<i class="icon-home"></i>

								<span>当前位置：</span>

								<span>首页</span>

								<i class="icon-angle-right"></i>

							<li>

								<span>报表管理</span>

								<i class="icon-angle-right"></i>

							</li>

							<li><span>用户推送报表 </span></li>

						</ul>
                        
						<!-- END PAGE TITLE & BREADCRUMB-->

					</div>

				</div>

				<!-- END PAGE HEADER-->

				<!-- BEGIN CHART PORTLETS-->

				<div class="row-fluid">

					<div class="span12">                

						<!-- BEGIN STACK CHART CONTROLS PORTLET-->

						<div class="portlet box yellow">

							<div class="portlet-title">

								<div class="caption"><i class="icon-reorder"></i>用户推送报表</div>
								<div class="controls" style="float:right;">
									<script>
									function senddata(){
										$('#pushform').submit();
									}
									</script>
                               <form id="pushform" action="/Userpush/list" method="post" style="height:0px;">      
                                   <input placeholder="请输入日期" class="laydate-icon" onclick="laydate({istime: true, format: 'YYYY-MM-DD', choose: senddata})" id="push_time_input" name="push_time_input" value="<?php 
                                   if($time_date == ""){
                                   	echo date("Y-m-d",time());
                                   }
                                   else{
                                   echo  $time_date;}?>">                        
								</form>
                                </div>

							</div>

							<div class="portlet-body">
                        <div id="morris-bar-chart" class="prettyprint linenums" style="height:500px;margin-top:10px;"></div>
                    </div>
			    <script type="text/javascript">
			        $(function(){
			            Morris.Bar({
			            	  element: 'morris-bar-chart',
							  data: [<?php echo $pushUserAboutInfo; ?>],
							  xkey: 'y',
							  ykeys: ['a'],
							  labels: ['推送数量'],
							  hideHover:"auto",
			            	  resize:!0,
			            	  barColors:["#1ab394"]
			            });
			        });
			    </script>

						</div>

						<!-- END STACK CHART CONTROLS PORTLET-->
                 
					</div>

				</div>

			</div>

		</div>

	</div>
	<!-- END CONTAINER -->
<?php
    include APPLICATION_PATH . '/application/views/foot.phtml';
?>

